<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class UserTask extends Model
{
    use HasDateTimeFormatter;

    protected $table = 'user_task';

    protected $guarded = [];

    const STATUS = [
        self::STATUS_Y => '已审核',
        self::STATUS_N => '未审核',
        self::STATUS_X => '未通过',
    ];

    const STATUS_N = 0;
    const STATUS_Y = 1;
    const STATUS_X = 2;
}
